package com.ashin;

import org.junit.Test;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

/**
 * @author Ashin
 */
public class TestRedisPool {

    @Test
    public void testPool(){
        JedisPool jedisPool = new JedisPool();
        Jedis resource = jedisPool.getResource();
        resource.set("text","zjh1");
        System.out.println(resource.get("text"));
    }
}
